<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

/*
|--------------------------------------------------------------------------
| File and Directory Modes
|--------------------------------------------------------------------------
|
| These prefs are used when checking and setting modes when working
| with the file system.  The defaults are fine on servers with proper
| security, but you may wish (or even need) to change the values in
| certain environments (Apache running a separate process for each
| user, PHP under CGI with Apache suEXEC, etc.).  Octal values should
| always be used to set the mode correctly.
|
*/
define('FILE_READ_MODE', 0644);
define('FILE_WRITE_MODE', 0666);
define('DIR_READ_MODE', 0755);
define('DIR_WRITE_MODE', 0777);

/*
|--------------------------------------------------------------------------
| File Stream Modes
|--------------------------------------------------------------------------
|
| These modes are used when working with fopen()/popen()
|
*/

define('FOPEN_READ',							'rb');
define('FOPEN_READ_WRITE',						'r+b');
define('FOPEN_WRITE_CREATE_DESTRUCTIVE',		'wb'); // truncates existing file data, use with care
define('FOPEN_READ_WRITE_CREATE_DESTRUCTIVE',	'w+b'); // truncates existing file data, use with care
define('FOPEN_WRITE_CREATE',					'ab');
define('FOPEN_READ_WRITE_CREATE',				'a+b');
define('FOPEN_WRITE_CREATE_STRICT',				'xb');
define('FOPEN_READ_WRITE_CREATE_STRICT',		'x+b');

define('YTZ_LIST_PAGE_SIZE' , 10);
define('BORROW_LIST_PAGE_SIZE' , 5);
define('REPAYMENT_LIST_PAGE_SIZE' , 10);
define('SITE_LIST_PAGE_SIZE' , 10);
define('ARTICLE_LIST_PAGE_SIZE' , 5);
define('LEAVEWORD_LIST_PAGE_SIZE' , 10);
define('LOG_LIST_PAGE_SIZE' , 10);

define('USER_CENTER_PAGE_SIZE' , 20);//用户后台分页


require_once "constants_site.php";

define('RECHARGE', 				1);//用户充值
define('BORROW_FEE', 			2);//借款手续费
define('CASH_CANCEL', 			3);//取消提现解冻
define('CASH_FROST', 			4);//提现冻结
define('TENDER', 				5);//投标
define('BORROW_SUCCESS', 		6);//借款入帐
define('MARGIN', 				7);//保证金
define('INVEST', 				8);//扣除冻结款
define('FEE', 					9);//充值手续费
define('AWARD_LOWER', 			10);//扣除投标奖励
define('AWARD_ADD', 			11);//投标奖励
define('REPAYMENT', 			12);//还款
define('INVEST_FALSE', 			13);//投标失败资金返回
define('RECHARGE_FEE', 			14);//提现手续费
define('COLLECTION', 			15);//待收金额
define('BORROW_FROST', 			16);//解冻借款担保金
define('INVEST_REPAYMENT', 		17);//还款
define('VIP', 					18);//vip会员费
define('REALNAME', 				19);//实名认证费用
define('RECHARGE_SUCCESS', 		20);//提现审核通过
define('RECHARGE_FALSE', 		21);//提现失败
define('SYSTEM_REPAYMENT', 		22);//逾期系统还款
define('LATE_RATE', 			23);//逾期利息扣除
define('TICHENG', 				24);//投标提成
define('LATE_COLLECTION', 		25);//逾期收入
define('SCENE_AC', 				26);//现场认证费用
define('VOUCH_ADVANCED', 		27);//担保垫付扣费
define('BORROW_KOUHUI', 		28);//借款人罚金扣回
define('VOUCH_AWARDPAY', 		29);//担保奖励支付
define('VOUCH_AWARD', 			30);//担保奖励接收
define('MARGIN_VOUCH', 			31);//担保成功冻结5%
define('VIDEO', 				32);//视频认证费用
define('TENDER_MANGE', 			33);//利息管理费用
define('REPAYMENT_WY', 			34);//提前还款违约
define('INVEST_REPAYMENT_WY', 	35);//客户提前还款违约
define('AC_OTHER', 				36);//其它扣费
define('CREDIT_CASH', 			37);//积分兑现
define('OTHER_FEE', 			38);//其他费用
define('RECHARGE_REWARD', 		39);//线下充值奖励
define('REPAYMENT_TENDER_REWARD',40);//回款再投标奖励
define('LIMIT_REWARD', 			41);//日排名奖励
define('CHOUJIANG_REWARD', 		42);//转盘抽奖奖励
define('INVITE_REWARD', 		43);//推荐奖励
define('LATE_REPAYMENT', 		44);//
define('REPAYMENT_TENDER_REWARD1',45);//回款续投奖励1
define('INVITE_REWARD_SUBTRACT', 46);//扣除发放错误的邀请奖励
define('INVEST_MIAOBIAO', 		47);//发布秒表冻结利息
define('AWARD_MINUS', 			48);//扣除投标奖励
define('COLLECTION_MINUS', 		49);//流转标撤标，减去待收金额
define('VIP_REPAY', 			50);//vip会员费返还
define('INVEST_ROLLBACK_REPAYMENT', 	51);//还款回滚操作
define('INVEST_SINGLE_FALSE', 			52);//投标者撤标资金返回
define('REPEAT_VERIFY_FREEZE', 			53);//重复复审冻结修复
define('REPEAT_VERIFY_COLLECTION', 		54);//重复复审待收修复
define('REG_MONEY', 		55);//注册礼金
define('RECHARGE_CHINABANK_REWARD', 		56);//网银在线充值奖励
define('EXP_MONEY', 			57);//体验金
define('EXP_MONEY_DEDUCT', 		58);//体验金扣除

define('CREDITOR_FEEEZE', 		59);//购买债权资金冻结
define('CREDITOR_NOFEEEZE', 	60);//购买债权成功扣除冻结款
define('CREDITOR_SUCCESS', 		61);//出售债权成功入账
define('CREDITOR_COLL_DECR', 	62);//出售债权待收减少
define('CREDITOR_COLL_INCR', 	63);//购买债权待收增加
define('CREDITOR_FAIL', 		64);//购买债权失败解除冻结金
define('CREDITOR_SUCC_FEE', 	65);//出售债权成功扣除手续费

define('INVEST_CANCEL_COLL', 	66);//撤销投标待收扣除
define('INVEST_CANCEL_ACC', 	67);//撤销投标本金返回
define('INVEST_CANCEL_AWARD', 	68);//撤销投标奖励扣除

define('INVEST_FANXIAN', 		69);//投标返现奖励

define('AMOUNT_CREDIT', 		1);//额度类型.1:信用额度
define('AMOUNT_APPLY_ADD', 		1);//额度申请
define('AMOUNT_BORROW_SUCCESS', 2);//借款标满标审核通过，借款信用额度减少
define('AMOUNT_BORRROW_REPAY',  3);//成功还款，额度增加


//积分
define('CREDIT_INVEST_SUCCESS', 7);//投标成功
define('CREDIT_ADVANCE_DAY', 	 14);//正常还款
define('CREDIT_ADVANCE_1DAY',   13);//提前1到3天还款
define('CREDIT_ADVANCE_3DAY',   12);//提前3天以上还款
define('CREDIT_BORROW_SUCCESS', 8);//借款成功


define('EXP_MONEY_1000', 		1000.00);//1000快体验金

//托管帐号
define('MONEYMOREMOREPID', "p101");
define('MONEYMOREMOREURL', "https://www.moneymoremore.com");



/* End of file constants.php
 *
 */
 /* Location: ./application/config/constants.php */